package cn.wxq.daily.empdailymgforserve.mapper;

import cn.wxq.daily.empdailymgforserve.domain.Administrative;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 行政模块
 */
@Mapper
public interface AdministrativeDao {

    /**
     * 条件查询
     * @return
     */
    public List<Administrative> findByPage(Administrative administrative);


    /**
     * 新增
     * @return
     */
    public int insertAdministrative(Administrative administrative);

    /**
     * 修改
     * @return
     */
    public int updateAdministrative(Administrative administrative);

    /**
     * 修改审核状态
     * @return
     */
/*    public int updateAdministratStatus( String status);*/

    /**
     * 删除
     * @param adtrtId
     * @return
     */
    public int deleteById(Integer adtrtId);

   /* */
   /**
     * 获取详情
     * @param adtrtId
     * @return
     */
    public Administrative selectAdministrativeById(Integer adtrtId);
}
